package com.auction.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.Api;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Api("店铺信息")
@TableName(value = "shop")
public class Shop {
    @TableId(type = IdType.AUTO)
    int id;
    String name;
    String code;
    int pro_num;
    int status;
    @TableField(exist = false)
    ShopUser su;
}
